package com.maiworld.content.service;

import java.util.List;

import com.maiworld.pojo.Category;
import com.maiworld.pojo.News;

import entity.PageResult;


public interface ArticleService {

	public List<Category> findCategotyByPId(Long id);
	
	public int addArticle(News news);
	
	public int deleteByIdArray(Long[] idArray);
	
	public PageResult selectByClassId(Long classId,int page, int rows,String status);
	
	public int saveArticle(News news);
	
	public List<News> selectByClassIdLimit(Long classId,String status,int start, int pageSize);
	
	public News selectById(Long id,String status);
}
